import { myAxios } from '@apis/http';

//服务管理-服务配置-列表
export const productPlanFileUploadAPI = (data: any = {}) => {
  return myAxios({
    method: 'post',
    url: '/product/planFileUpload',
    data,
    headers: {
      CURRENT_USER: data.userCode,
      'content-type': 'multipart/form-data',
      Accept: '*/*',
    },
  });
};
//配置管理-计划配置-table
export const planQueryPageAPI = (data: any = {}) => {
  return myAxios({
    method: 'post',
    url: '/api/management/plan/queryPage',
    data,
  });
};
//配置管理-计划配置-table-新增计划弹框
export const planAddPlanAPI = (data: any = {}) => {
  return myAxios({
    method: 'post',
    url: '/api/management/plan/addPlan',
    data,
  });
};
//配置管理-产品配置-table
export const confProductInfoQueryPageAPI = (data: any = {}) => {
  return myAxios({
    method: 'post',
    url: '/api/management/conf-product-info/queryPage',
    data,
  });
};
// /api/management/plan/queryPage 计划配置查询按钮
//    详情/api/management/plan/getProductDetail
